{extend name="base" /}

{block name="title"}富豪区提现{/block}

{block name="main"}
<div class="main">
	<div class="wdtx_header">
		<div class="container">
			<div class="qbgl_box clearfix">
				
				<div class="qbye">
					<div class="img_box">
						<img src="/images/qb.png"/>
					</div>
					<span>账户余额：<span class="color_ceng">{$user_wallet_rich.price}</span></span>
				</div>
				<div class="btn_gruop">
					<a href="/withdraw/rich/withdraw">提现</a>
					<a href="/message/save" style="background-color: #000">举报</a>
				</div>
				
			</div>
			
			<div class="qb_info">
				<ul class="breadcrumb">
				  <li><a href="/user_info">绑定云付通</a></li>
				  <li><a href="/user_info/change_password">修改密码</a></li>
				  <li><a href="/user_info">修改个人信息</a></li>
				</ul>
			</div>
			
		</div>
	</div>
	<div class="container">
		<div class="qd_box">
			<div class="table_modal">
					
				<div class="tab_title">
					<p>富豪区提现</p>
				</div>
				
				<div class="qd_table_box">
					<div class="table-responsive">
					  	<table class="table text-center table-bordered">
					    	<tr>
					    		<th>流水号</th>
					    		<th>提现时间</th>
					    		<!--<th>提现帐户</th>-->
					    		<th>交易状态</th>
					    		<th>提现金额</th>
					    		<th>接单人</th>
					    		<th>联系人</th>
					    		<th>联系人手机</th>
					    		<th>操作</th>
					    	</tr>
					    	{volist name='helpGetRichs' id='helpGetRich'}
							<tr>
					    		<td>{$helpGetRich.order_id}</td>
					    		<td>{$helpGetRich.create_time}</td>
					    		<td>{$helpGetRich.status}</td>
					    		<td>{$helpGetRich.price}</td>
					    		{php}
					    			$helpToRich = $helpGetRich['help_to_rich_id'];
					    			$user = isset($helpToRich)?$helpToRich:'';
					    		{/php}
					    		{notempty name="user"}
					    		<td>{$user.username}</td>
					    		<td>{$user.realname}</td>
					    		<td>{$user.phone}</td>
					    		{else /}
					    		<td></td>
					    		<td></td>
					    		<td></td>
					    		{/notempty}
					    		{if condition="$helpGetRich->getData('status') eq 0"}
				    				<td><a href="/withdraw/rich/cancel?help_get_rich_id={$helpGetRich.help_get_rich_id}">取消</a></td>
				    			{/if}
					    	</tr>
							{/volist}
					  	</table>
					</div>
					<nav>{$helpGetRichs -> render()}</nav>
				</div>
			</div>
		</div>	
	</div>

</div>
{/block}